package fr.cnam.projetSiw.client.structure.pages.search;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.AcceptsOneWidget;

import fr.cnam.projetSiw.client.core.ClientFactory;
import fr.cnam.projetSiw.client.core.ZicActivity;

public class SearchActivity extends ZicActivity implements SearchView.Presenter
{

	public SearchActivity(ClientFactory clientFactory)
	{
		super(clientFactory);
		// TODO Auto-generated constructor stub
	}


	@Override
	public void start(AcceptsOneWidget panel, EventBus eventBus)
	{
		final SearchView view = (SearchView) clientFactory.getSearchView();	
		view.setPresenter(this);
		
		panel.setWidget(view);
	}

	


}
